6.3. Preconditions for Calendar Object Creation
calWS:target-exists
: The target of aPUT
must exist. UsePOST
to create entities andPUT
to update them.calWS:not-calendar-data
: The resource submitted in thePUT
request, or targeted by aCOPY
orMOVE
request,MUST
be a supported media type (i.e., iCalendar) for calendar object resources;calWS:invalid-calendar-data
: The resource submitted in thePUT
request, or targeted by aCOPY
orMOVE
request,MUST
be valid data for the media type being specified (i.e.,MUST
contain valid iCalendar data);calWS:invalid-calendar-object-resource
: The resource submitted in thePUT
request, or targeted by aCOPY
orMOVE
request,MUST
obey all restrictions specified in Calendar Object Resources (e.g., calendar object resourcesMUST NOT
contain more than one type of calendar component, calendar object resourcesMUST NOT
specify the iCalendarMETHOD
property, etc.);calWS:unsupported-calendar-component
: The resource submitted in thePUT
request, or targeted by aCOPY
orMOVE
request,MUST
contain a type of calendar component that is supported in the targeted calendar collection;calWS:uid-conflict
: The resource submitted in thePUT
request, or targeted by aCOPY
orMOVE
request,MUST NOT
specify an iCalendarUID
property value already in use in the targeted calendar collection or overwrite an existing calendar object resource with one that has a different UID property value. ServersSHOULD
report the URL of the resource that is already making use of the same UID property value in thecalWS:href
element<!ELEMENT uid-conflict (calWS:href)>
calWS:invalid-calendar-collection-location
: In aCOPY
orMOVE
request, when the Request- URI is a calendar collection, the Destination-URIMUST
identify a location where a calendar collection can be created;calWS:exceeds-max-resource-size
: The resource submitted in thePUT
request, or targeted by aCOPY
orMOVE
request,MUST
have an octet size less than or equal to the value of theCalDAV:max-resource-size
property value on the calendar collection where the resource will be stored;calWS:before-min-date-time
: The resource submitted in thePUT
request, or targeted by aCOPY
orMOVE
request,MUST
have all of its iCalendarDATE
orDATE-TIME
property values (for each recurring instance) greater than or equal to the value of theCalDAV:min-date-time
property value on the calendar collection where the resource will be stored;calWS:after-max-date-time
: The resource submitted in thePUT
request, or targeted by aCOPY
orMOVE
request,MUST
have all of its iCalendarDATE
orDATE-TIME
property values (for each recurring instance) less than the value of theCalDAV:max-date-time
property value on the calendar collection where the resource will be stored;calWS:too-many-instances
: The resource submitted in thePUT
request, or targeted by aCOPY
orMOVE
request,MUST
generate a number of recurring instances less than or equal to the value of theCalDAV:max-instances
property value on the calendar collection where the resource will be stored;calWS:too-many-attendees-per-instance
: The resource submitted in thePUT
request, or targeted by aCOPY
orMOVE
request,MUST
have a number ofATTENDEE
properties on any one instance less than or equal to the value of theCalDAV:max-attendees-per-instance
property value on the calendar collection where the resource will be stored;